﻿<?xml version="1.0" encoding="utf-8"?>
<!--310 Freight Receipt and Invoice (Ocean)-->
<TransactionSpecification TransactionSetIdentifierCode="310" xmlns="http://tempuri.org/X12ParserSpecification.xsd">
  <Segment SegmentId="B3" Usage="Required" Repeat="1" />
  <Segment SegmentId="B2A" Repeat="1" />
  <Segment SegmentId="Y6" Repeat="2" />
  <Segment SegmentId="G3" Repeat="1" />
  <Segment SegmentId="N9" Repeat="15" />
  <Segment SegmentId="V1" Usage="Required" Repeat="2" />
  <Segment SegmentId="M0" Repeat="1" />
  <Segment SegmentId="M1" Repeat="5" />
  <Segment SegmentId="C2" Repeat="1" />
  <Segment SegmentId="C3" Repeat="1" />
  <Segment SegmentId="Y2" Repeat="10" />
  <Loop LoopId="N1" LoopRepeat="10">
    <Name>Name</Name>
    <StartingSegment SegmentId="N1" />
    <Segment SegmentId="N2" Repeat="1" />
    <Segment SegmentId="N3" Repeat="2" />
    <Segment SegmentId="N4" Repeat="1" />
  </Loop>
  <Segment SegmentId="G61" Repeat="3" />
  <Loop LoopId="R4" LoopRepeat="20">
    <Name>Port or Terminal</Name>
    <StartingSegment SegmentId="R4" />
    <Segment SegmentId="DTM" Repeat="15" />
  </Loop>
  <Segment SegmentId="R2A" Repeat="25" />
  <Segment SegmentId="R2" Repeat="13" />
  <Segment SegmentId="K1" Repeat="12" />
  <Segment SegmentId="H3" Repeat="6" />
  <Segment SegmentId="L5" Repeat="1" />
  <Loop LoopId="C8" LoopRepeat="20">
    <Name>Certifications and Clauses</Name>
    <StartingSegment SegmentId="C8" />
    <Segment SegmentId="C8C" Repeat="5" />
  </Loop>
  <Loop LoopId="LX" LoopRepeat="999">
    <Name>Assigned Number</Name>
    <StartingSegment SegmentId="LX" />
    <Loop LoopId="N7" LoopRepeat="999">
      <Name>Equipment Details</Name>
      <StartingSegment SegmentId="N7" />
      <Segment SegmentId="QTY" Repeat="1" />
      <Segment SegmentId="V4" Repeat="1" />
      <Segment SegmentId="N12" Repeat="1" />
      <Segment SegmentId="M7" Repeat="5" />
      <Segment SegmentId="W09" Repeat="1" />
      <Loop LoopId="L1" LoopRepeat="20">
        <Name>Rate and Charges</Name>
        <StartingSegment SegmentId="L1" />
        <Segment SegmentId="C3" Repeat="1" />
      </Loop>
      <Segment SegmentId="L7" Repeat="1" />
      <Segment SegmentId="X1" Repeat="1" />
      <Segment SegmentId="X2" Repeat="1" />
      <Segment SegmentId="N9" Repeat="3" />
      <Loop LoopId="H1" LoopRepeat="10">
        <Name>Hazardous Material</Name>
        <StartingSegment SegmentId="H1" />
        <Segment SegmentId="H2" Repeat="10" />
      </Loop>
    </Loop>
    <Loop LoopId="L0" LoopRepeat="120">
      <Name>Line Item - Quantity and Weight</Name>
      <StartingSegment SegmentId="L0" />
      <Segment SegmentId="L5" Repeat="999" />
      <Loop LoopId="L1" LoopRepeat="20">
        <Name>Rate and Charges</Name>
        <StartingSegment SegmentId="L1" />
        <Segment SegmentId="C3" Repeat="1" />
      </Loop>
      <Segment SegmentId="L7" Repeat="1" />
      <Segment SegmentId="X1" Repeat="1" />
      <Segment SegmentId="X2" Repeat="1" />
      <Loop LoopId="C8" LoopRepeat="20">
        <Name>Certifications and Clauses</Name>
        <StartingSegment SegmentId="C8" />
        <Segment SegmentId="C8C" Repeat="5" />
      </Loop>
      <Loop LoopId="H1" LoopRepeat="10">
        <Name>Hazardous Material</Name>
        <StartingSegment SegmentId="H1" />
        <Segment SegmentId="H2" Repeat="10" />
      </Loop>
    </Loop>
  </Loop>
  <Segment SegmentId="L3" Usage="Required" Repeat="1" />
  <Segment SegmentId="PWK" Repeat="25" />
  <Loop LoopId="L1" LoopRepeat="20">
    <Name>Rate and Charges</Name>
    <StartingSegment SegmentId="L1" />
    <Segment SegmentId="C3" Repeat="1" />
  </Loop>
  <Segment SegmentId="V9" Repeat="10" />
  <Segment SegmentId="C8" Repeat="20" />
  <Segment SegmentId="K1" Repeat="999" />
  <Segment SegmentId="L11" Repeat="1" />
</TransactionSpecification>